<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    form{
      margin: 10px;
    }
  </style>
  <link rel="stylesheet" href="/public/lib/bootstrap/dist/css/bootstrap.css">
</head>
<body>
  <h1>编辑页面</h1>
  <form action="/edit" method="post">
    <fieldset>
      <div class="form-group">
        <label for="disabledTextInput">id</label>
        <input type="text" value="{{ arr.id }}" name="id" id="disabledTextInput" class="form-control" placeholder="id">
      </div>
      <div class="form-group">
        <label for="disabledTextInput">name</label>
        <input type="text" value="{{ arr.name }}" name="name" id="disabledTextInput" class="form-control" placeholder="name">
      </div>
      <div class="form-group">
        <label for="disabledTextInput">author</label>
        <input type="text" value="{{ arr.author }}" name="author" id="disabledTextInput" class="form-control" placeholder="author">
      </div>
      <div class="form-group">
        <label for="disabledTextInput">fenlei</label>
        <input type="text" value="{{ arr.fenlei }}" name="fenlei" id="disabledTextInput" class="form-control" placeholder="fenlei">
      </div>
      <div class="form-group">
        <label for="disabledTextInput">desc</label>
        <input type="text" value="{{ arr.desc }}" name="desc" id="disabledTextInput" class="form-control" placeholder="desc">
      </div>
      <button type="submit" class="btn btn-primary">Submit</button>
    </fieldset>
  </form>
</body>
</html>